package com.beamfield.dao.lab;

import com.beamfield.model.LabUnit;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface LabUnitMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LabUnit record);

    int insertSelective(LabUnit record);

    LabUnit selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LabUnit record);

    int updateByPrimaryKeyWithBLOBs(LabUnit record);

    int updateByPrimaryKey(LabUnit record);

    LabUnit selectByUnitNo(@Param("beamId") Long beamId, @Param("unitNo") String unitNo);
}